{include file="public/header" /}
<body class="childrenBody">
	<form class="layui-form">
		<div class="layui-form-item">
			<label class="layui-form-label">类型编码</label>
			<div class="layui-input-block">
				<input type="text" name="TypeCode" class="layui-input" lay-verify="required" placeholder="请输入类型编码">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">类型名称</label>
			<div class="layui-input-block">
				<input type="text" name="TypeName" class="layui-input" lay-verify="required" placeholder="请输入类型名称">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">尺寸选择</label>
			<div class="layui-input-block">
				{volist name="size" id="z"}
					<input type="checkbox" name="size_ids" title="{$z.code} ({$z.name})" value="{$z.code}" lay-skin="primary"><br/>
				{/volist}
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">是否启用</label>
				<div class="layui-input-block">
					<input type="checkbox" name="show" class="isShow" title="启用">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<input type="hidden" name="type_id" class="" value="0">
				<button class="layui-btn" lay-submit="" lay-filter="addUser">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		</div>
	</form>
	<script type="text/javascript" src="{$PUBLIC_STATIC_SRC.__ADMIN_JS__}/ptype/ptypeAdd.js"></script>
</body>
</html>